<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>新增或更改文章</title>
	<%-- <%@ include file="/static/head.jsp"%> --%>
	<%@ include file="/WEB-INF/view/head.jsp"%>
</head>
<body>
	<div class="container">
	<form  action="<c:url value="/article/addOrUpdateArticle"/>" method="post" enctype="multipart/form-data">
		<input type="hidden" name="article_id" value="${article.articleId }">
		文章名称：<input type="text" name="name" class="form-control" value="${article.articleName }">
		文章描述：<input type="text" name="desc" class="form-control" value="${article.articleDesc }">
		文章类型：<input type="text" name="type" class="form-control" value="${article.articleType }">
		文章图片：<input type="text" name="img" class="form-control" value="${article.imgId }">
		文章内容：<input type="file" name="file" class="form-control">
		<input type="submit"  class="btn btn-primary" value="提交" >
	</div>
</body>
<script type="text/javascript">
</script>
</html>